<?php
/**
 * Created by zengxianfen on 2020/7/17 11:32.
 */

namespace App\Model\Service;


use App\Model\Repository\BaseRepository;

class BaseService
{
    /**
     * @var BaseRepository
     */
    protected $repository;

    /**
     * @return BaseRepository
     */
    public function getRepository(): BaseRepository
    {
        return $this->repository;
    }

    /**
     * @param BaseRepository $repository
     */
    public function setRepository(BaseRepository $repository): void
    {
        $this->repository = $repository;
    }


}